<?php
$title = $_POST["Title"];
$content = $_POST["Content"];
$id = $_GET["id"];
$updateTime = date_format(new DateTime(),'Y-m-d h:i:s');

$sql = "update `article` set `Title`='$title',`Content`='$content',`UpdateTime`='$updateTime' where id= $id ";
$conn = new mysqli("localhost","root","","mybolg");
$conn->query($sql);
if($conn->error) die($conn->error);
$url = "article_list.php";
Header("Location: $url");
die("");
?>